import request from '/@/utils/request';

/**
 * 获取app版本列表
 * @method page
 */
export function page(data: object) {
	return request({
		url: '/api/v1/smoke/app/page',
		method: 'post',
		data: data,
	});
}

/**
 * 添加
 * @method add
 */
export function add(data: object) {
	return request({
		url: '/api/v1/smoke/app/add',
		method: 'post',
		data: data,
	});
}

/**
 * 更新
 * @method update
 */
export function update(data: object) {
	return request({
		url: '/api/v1/smoke/app/update',
		method: 'put',
		data: data,
	});
}


/**
 * 删除
 * @method del
 */
export function del(data: object) {
	return request({
		url: '/api/v1/smoke/app/del',
		method: 'delete',
		data: data,
	});
}
